package com.zime.hw1;

public class test {
    public static void main(String[] args) {
        Point point1=new Point(1,1);
        Point point2=new Point();
        point2.setX(2);
        point2.setY(2);
        System.out.println(point1.distance(point2));
    }
}
